using MediatR;
using Medical.Api.Write.Dto.BasicManagement.ShelfDictionaryDto;
using Medical.ErrorCode;

namespace Medical.Api.Write.Application.Command.BasicManagement.ShelfDictionaryCommand
{
    /// <summary>
    /// 创建货架命令
    /// </summary>
    public class CreateShelvesCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 货架数据
        /// </summary>
        public CreateShelvesDto ShelvesData { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="shelvesData">货架数据</param>
        public CreateShelvesCommand(CreateShelvesDto shelvesData)
        {
            ShelvesData = shelvesData;
        }
    }
}